#include "main.h"

extern SDL_Rect camera;

//The surfaces
extern SDL_Surface *screen;
extern SDL_Surface *ready;

Ready::Ready()
{
   box.x = READY_X_POS;
   box.y = READY_Y_POS;
   box.w = READY_WIDTH;
   box.h = READY_HEIGHT;
   
   isVisible = true;
}

void Ready::show()
{
   if (isVisible)
   {
      apply_surface( box.x - camera.x, box.y - camera.y, ready, screen, 0, 0 );
   }
}

void Ready::setVisible(bool visible)
{
   isVisible = visible;
}

SDL_Rect Ready::getBox()
{
   return box;
}
